﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ETL.Entity;
namespace ETL.Business.Models
{
    public class ProjectETRModel
    {
        public project_etr ProjectETR { get; set; }

        private string _reference;
        private string _title;
        private string _description;

        /// <summary>
        /// Constructor 
        /// </summary>
        /// <param name="projectEtr"></param>
        public ProjectETRModel(project_etr projectEtr)
        {
            this.ProjectETR = projectEtr;
        }

        public ProjectETRModel()
        {
        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public string Reference
        {
            get { return this.ProjectETR.etr_ref; }
            
        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public string AuthorisedBy
        {
            get { return this.ProjectETR.etr_authorised_by; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public string RequestedBy
        {
            get { return this.ProjectETR.etr_rejected_by; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public DateTime? DateRequested
        {
            get { return this.ProjectETR.etr_date_requested; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public string NoOfSheets
        {
            get { return this.ProjectETR.etr_sheets; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public bool? ReasonRequired
        {
            get { return this.ProjectETR.etr_reason; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public byte? PerComplete
        {
            get { return this.ProjectETR.etr_percent_complete; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public string Electronics
        {
            get { return this.ProjectETR.etr_electronics; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public double? ElectronicsHours
        {
            get { return this.ProjectETR.etr_electronics_hours; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public string Software
        {
            get { return this.ProjectETR.etr_software; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public double? SoftwareHours
        {
            get { return this.ProjectETR.etr_software_hours; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public string CAD
        {
            get { return this.ProjectETR.etr_cad; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public double? CADHours
        {
            get { return this.ProjectETR.etr_cad_hours; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public string Other
        {
            get { return this.ProjectETR.etr_other; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public double? OtherHours
        {
            get { return this.ProjectETR.etr_other_hours; }

        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public string Title { 
            get { return this.ProjectETR.etr_title; }           
        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public string Description { 
            get { return this.ProjectETR.etr_description; }
           
        }

        /// <summary>
        /// Get or set category description
        /// </summary>
        public string Requirements
        {
            get { return this.ProjectETR.etr_requirements; }

        }



    }
}
